package com.ywgt.service;

import com.github.pagehelper.Page;
import com.ywgt.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 管理员表 服务类
 * </p>
 *
 * @author yiping
 * @since 2021-03-13
 */
public interface AdminService extends IService<Admin> {


    Page<Admin> getAdmins(String username, int page, int limit, String sort, String order);

    List<Admin> getAll();
}
